import { useRoutes } from 'react-router-dom'
import './App.css'
// 引入路由数组
import routes from './router/index.jsx'
function App() {
  return (
    <div>
      {/* 注册路由 */}
      {useRoutes(routes)}
    </div>
  );
}
export default App;